﻿/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	
    // 取消 “拖拽以改变尺寸”功能
    config.resize_enabled = false;
	//工具栏
    config.toolbar =

    [

        ['Bold','Italic','Underline','Strike'],

        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],

        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],

        ['Link','Unlink'],

        ['Image','Flash','Table'],

        '/',

        ['Format','Font','FontSize'],

        ['TextColor','BGColor'],

        ['Maximize', 'ShowBlocks','-','Source','-','Undo','Redo']

    ];
    config.enterMode = CKEDITOR.ENTER_BR;
    config.height = 400
};
//CKFinder扩展
CKFinder.SetupCKEditor(null, '../ckeditor/');